package com.example.oasystem.service;

import com.example.oasystem.entity.notice.AoaNoticeListOfSun;
import com.example.oasystem.entity.status.AoaStatusList;
import com.example.oasystem.entity.type.AoaTypeList;
import com.example.oasystem.entity.user.AoaUser;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface AoaNoticeListService {

    PageInfo<AoaNoticeListOfSun> selectNoticeAndUserAndTypeAndStatus(int pageNum, int pageSize, String baseKey, AoaUser aoauser);

    List<AoaTypeList> selectNoticeType();

    List<AoaStatusList> selectNoticeStatus();

    AoaNoticeListOfSun selectONENoticeAll(int id);


    void updateNotice(AoaNoticeListOfSun aoaNotice);

    void addNotice(AoaNoticeListOfSun aoaNotice, List<AoaUser> aoaUser);


    AoaNoticeListOfSun selectUserNotice(long id);

    void delectNotice(long id);

    void updateTop(int isTop, long noticeId);
}
